package com.zxy.ziems.server.alarm.service;

import com.zxy.ziems.server.alarm.pojo.dto.AlarmProcessRecordDTO;
import com.zxy.ziems.server.alarm.pojo.entity.AlarmProcessRecordEntity;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * 告警记录处理
 * @author chdzq
 * @create 2023/4/13
 */
public interface AlarmProcessRecordService {

    /**
     * 增加
     * @param dto
     * @return id 主键
     */
    AlarmProcessRecordEntity add(AlarmProcessRecordDTO dto);

    /**
     * 获取DO
     * @param id
     * @return
     */
    AlarmProcessRecordEntity getById(Serializable id);

    /**
     * 获取DO列表
     * @param idList
     * @return
     */
    List<AlarmProcessRecordEntity> listByIds(Collection<? extends Serializable> idList);

}
